/*
 * author      : 吴中勤 
 * date        : 2018/8/19
 * description : TODO
 */

package com.deepexi.adapter.sdk.sap.dto.order;

import com.deepexi.adapter.sdk.sap.dto.SapBaseResponse;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class SapOrderResponseBody extends SapBaseResponse {

    // '0'成功；'1'失败；'2'分车失败；'3'采购申请失败
    public static final String ERROR_CODE_LOCK_VEHICLE = "2";
    public static final String ERROR_CODE_AUTO_PURCHASE = "3";

    // VBELN sap订单号
    @SerializedName("VBELN")
    private String sapOrderNo;

    // Items 订单行项目
    @SerializedName("Items")
    private List<SapOrderLineLite> lineLiteList;

    // === setter getter ===

    public String getSapOrderNo() {
        return sapOrderNo;
    }

    public void setSapOrderNo(String sapOrderNo) {
        this.sapOrderNo = sapOrderNo;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<SapOrderLineLite> getLineLiteList() {
        return lineLiteList;
    }

    public void setLineLiteList(List<SapOrderLineLite> lineLiteList) {
        this.lineLiteList = lineLiteList;
    }
}
